package com.example.demo.domain.model;


import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class ParameterValue {
    private Long id;

    private String code;

    private String name;

    private String localName;

    private String description;

    private Date startDate;

    private Date endDate;

    private Long parentId;

    private String extendedDescription;

    private Long displayOrder;

    private String standardCode;

    private Long userid;

    private Long currVersion;

    private Short security;

    private Short removed;

    private Long parameterRootId;

    private Long userCode;

    private String chineseDescription;

    private List<ParameterAttributeValue> parameterAttributeValues = new ArrayList<>();

    public boolean addParameterAttributeValue(ParameterAttributeValue parameterAttributeValue){
        return parameterAttributeValues.add(parameterAttributeValue);
    }
}